package com.xiaoshuidi.cloud.module.finance.api.finance;


import com.xiaoshuidi.cloud.framework.common.pojo.CommonResult;
import com.xiaoshuidi.cloud.module.bpm.mq.message.BpmProcessInstanceResultEvent;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "lease-finance-server")
public interface FinanceAccountWithdrawApi {

    @GetMapping("/rpc-api/finance/withdraw/Room")
    CommonResult<Boolean> withdrawalRoomVerification(@RequestParam("phone") String phone,
                                                     @RequestParam("companyId") Long companyId,
                                                     @RequestParam("roomId") Long roomId
    );
}
